'''
@author: nick mueller
'''

import util
import Communication
import os
from InputController import InputController

# Define Entry-Point
if __name__ == "__main__" :
    # change working directory
    os.chdir('/home/pi/')
    
    util.getLogger().info("TimeLapseCam Server started")
    
    # start communication thread
    Communication.getCommunication().startCommunication()
    
    # create controller for input events (includes button listener)
    inc = InputController()
